{% extends 'ShopAdminBundle::my_form_add.html.twig'%}

{% set _module='门店' %}

{% if is_edit is defined %}
{% set _current='编辑门店'%}
{% else %}
{% set _current='添加门店' %}
{% endif %}

{% block form_groups %}
    {% include 'ShopAdminBundle:Shop:form.html.twig' %}
{% endblock %}

{% block plugin_js %}

<script>

    var city_name="{{ entity.city | default('') }}",
        district_name="{{ entity.district | default('') }}";
        zone_name="{{ entity.shopZone | default('') }}";

    wxi.require('admin/shop.all.js');

</script>

{% endblock %}